package com.example.dml.generics;

/**
 * @Authors：gaoyang
 * @CreateTime：2021-10-29
 * @Description：todo
 */
public class Animal {
    private Integer leg;

    public Integer countLegs(){
        return leg;
    }

    public Integer getLeg() {
        return leg;
    }

    public void setLeg(Integer leg) {
        this.leg = leg;
    }
}
